<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>发行方案</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script type="text/javascript" src="../js/rem.js" ></script>
		<script type="text/javascript" src="../js/common.js?id=0001" ></script>
		<script type="text/javascript" src="../js/jquery-1.11.0.js" ></script>
		<script type="text/javascript" src="../js/Base64.min.js" ></script>
		<script type="text/javascript" src="../js/aikxian-common.js" ></script>
		<style>
		*{
			margin:0;
			padding:0;
		}
			.main{
				padding:0.2rem;
				height:auto;
				font-size: 0.3rem;
			}
			.title{
				width:100%;
				height:auto;
				border-bottom: 1px solid red;
				padding-bottom: 0.1rem;
				margin-bottom: 0.3rem;
			}
			.tit_sp{
				padding:0.1rem;
				background:red;
				color:#fff;
				
				-webkit-border-top-left-radius:4px;
				-moz-border-top-left-radius:4px;
				border-top-left-radius:4px;
				-webkit-border-top-right-radius:4px;
				-moz-border-top-right-radius:4px;
				border-top-right-radius:4px;
			}
			ul{
				border:1px solid grey;
			}
			ul li{
				list-style: none;
				width:100%;
				height:0.8rem;
				border-bottom: 1px solid silver;
			}
			ul li:last-child{
				border:none;
			}
			.form span{
				display:block;
				float:left;
				width:20%;
				height:100%;
				text-align: center;
				line-height: 0.8rem;
				font-size: 0.26rem;
				overflow: hidden;
			}
			.form{
				margin-bottom: 0.4rem;
			}
			.standard,.message{
				padding-left:0.2rem;
			}
			.p{
				width:100%;
				line-height: 0.5rem;
				height:0.8rem;
				/*border-bottom: 1px solid #C0C0C0;*/
			}
			
			.sp_left{
				display:block;
				float:left;
				/*margin-left:0.3rem;*/
				width:46%;
				overflow: hidden;
				
			}
			.sp_right{
				display:block;
				width:52%;
				/*line-height: 0.8rem;*/
				float:left;
			}
		</style>
	</head>
	<body>
		<div class='main'>
			<div class='title'>
				<span class='tit_sp'>运营中心指导费</span>
			</div>
			<ul class='form'>
				<li class='first'>
					<span class='sp1'>下限(含)(万)</span>
					<span class='sp2'>上限(万)</span>
					<span class='sp3'>个人(%)</span>
					<span class='sp4'>机构(%)</span>
					<span class='sp5'>发行方式</span>
				</li>
			</ul>
			
			
			<div class='title'>
				<span class='tit_sp'>小额分配标准</span>
			</div>
			<div class='standard'>
				
			</div>
			
			<div class='title'>
				<span class='tit_sp'>基本信息</span>
			</div>
			<div class='message'>

			</div>
			<div style='height:10px;clear:both;'></div>
		</div>
		
		<script>
		
			$(window).load(function(){
				//====
				var prodId=$.getUrlParam('prodId');
				var userId=$.getUrlParam('userId');
				var typeId=$.getUrlParam('typeId');
//				alert('prodId='+prodId+'userId'+userId+'typeId'+typeId);
				var str="{'prodId':'"+prodId+"','userId':'"+userId+"'}";
//				var str="{'prodId':'PI000000000607'}";
				str = Base64.encode(str);
				jQuery(function(){
					jQuery.ajax({
						url:Product_release,
						type:"post",
						dataType:"text",
						data:{commonURL:Product_release,"opName":"get_product_issueplan",'param':str,'osFlag':'5'},
						async:false,
						success:function(serverinfo){
							var Data=Base64.decode(serverinfo);
							Data=JSON.parse(Data);
							if(Data.retCode==0){
								for(var i=0;i<Data.itemList.length;i++){
									var $li=$('<li><span class="sp1">'+Data.itemList[i].amountLcl+'</span><span class="sp2">'+Data.itemList[i].amountUpl+'</span><span class="sp3">'+Data.itemList[i].salefeePer+'</span><span class="sp4">'+Data.itemList[i].salefeeOrg+'</span><span class="sp5">'+Data.itemList[i].feeTypevalue+'</span></li>')
									$('.form').append($li);
								}
								for(var i=0;i<Data.little.length;i++){
									var p="<p class='p'><span class='sp_left'>"+Data.little[i].title+"</span><span class='sp_right lowMark'>"+Data.little[i].value+"</span></p>"
									$(".standard").append(p);
								}
								for(var i=0;i<Data.content.length;i++){
									var p="<p class='p'><span class='sp_left'>"+Data.content[i].title+"</span><span class='sp_right lowMark'>"+Data.content[i].value+"</span></p>"
									$(".message").append(p);
								}
							}else{
								$(".main").html(Data.retMsg)
							};
							console.log(Data);
							console.log('=============================================');
							console.log(Data.itemList);
					},
					error:function(){
						
					}
					});
				});
			//====		
	});
		</script>
	</body>
</html>
